@back: rgb(255, 250, 250);
@navcolorl: rgb(29, 29, 29);
@hovercolor: rgb(202, 170, 145);
@hoverc: rgb(28, 175, 154);
@textcolor: rgb(143, 147, 158);
@btnc: rgb(255, 255, 255);
@pcol: rgb(238, 238, 238);
@featurescolor: rgb(43, 43, 43);
@listc: rgb(207, 207, 207);
@hiddenc: rgb(4, 129, 187);
@hiddenh1: rgb(20, 20, 20);
@CPM: rgb(240, 240, 240);
@CPMh1: rgb(83, 83, 83);
@borderc: rgb(207, 207, 207);
@button: rgb(5, 164, 238);
@buttonc: rgb(7, 119, 172);
@keyframes mymove {
  0% {
    transform: scale3d(0.5, 0.5, 0.5);
    opacity: 0;
  }
  50% {
    animation-timing-function: cubic-bezier(0.47, 0, 0.745, 0.715);
  }
  100% {
    transform: scale3d(1, 1, 1);
    animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 1;
  }
}
@keyframes fadeInDown {
  0% {
    transform: translate3d(0, -30%, 0);
    transform: translate3d(0, -30%, 0);
    opacity: 0;
  }
  100% {
    transform: none;
    opacity: 1;
  }
}
.btn {
  width: 50px;
  height: 30px;
  outline: none;
  border: 1px solid grey;
  cursor: pointer;
  &:hover {
    background-color: @hoverc;
    color: aliceblue;
  }
}
.nav {
  width: 100%;
  height: 100%;
  h4 {
    color: @textcolor;
    margin-left: 30px;
    margin-top: 20px;
  }
  a {
    margin: 0 auto;
    font-weight: 400;
    display: block;
    font-size: 14px;
    line-height: 50px;
    border-radius: 10px;
    margin-top: 10px;
    text-align: center;
    background-color: rgba(29, 41, 57);
    color: @textcolor;
    width: 80%;
    height: 50px;
    text-decoration: none;
    &:hover {
      background-color: @hoverc;
      color: white;
    }
  }
}

.not {
  display: block;
  border: 1px solid rgb(199, 199, 199);
  border-radius: 5px;
  width: 300px;
  height: 70px;
  text-align: center;
  line-height: 70px;
  position: absolute;
  background-color: rgb(255, 255, 255);
  top: 20%;
  left: 40%;
  border-top: 20px solid rgb(61, 61, 61);
  margin-top: -25px;
  margin-left: -60px;
  font-size: 18px;
  font-weight: 600;
  color: #000000;
  animation: fadeInDown 0.6s;
  overflow: hidden;
  i {
    font-size: 20px;
    padding-right: 10px;
    color: rgb(255, 187, 0);
  }
}
* {
  margin: 0;
  padding: 0;
  body {
    .all {
      width: 100%;
      height: 100%;
      margin: 0 auto;
      background-color: @back;
      position: absolute;
      display: flex;
      flex-direction: row;
      overflow: hidden;
      .main-nav {
        width: 240px;
        height: 100%;
        background-color: rgb(29, 41, 57);
        transition: all 0.4s;
        img {
          position: absolute;
          top: 1px;
          left: 5px;
        }
        .pp1 {
          display: inline-block;
          color: rgb(0, 0, 0);
          width: 100%;
          height: 50px;
          font-size: 19px;
          font-weight: 600;
          line-height: 50px;
          padding-left: 20px;
          text-align: center;
          background-color: white;
          border: 1px solid rgb(170, 170, 170);
          border-left: none;
          border-bottom: none;
        }
        .pp2 {
          display: none;
          width: 100%;
          height: 50px;
          background-color: white;
        }
      }
      .main-body {
        flex-grow: 1;
        width: 100%;
        height: 100%;
        position: relative;
        .main-body-all {
          width: 100%;
          height: 100%;
          flex-direction: column;
          .main-body-top {
            width: 100%;
            height: 50px;
            border: 1px solid rgb(170, 170, 170);
            background-color: white;
            z-index: 10;
            .bar {
              width: 50px;
              height: 50px;
              display: inline-block;
              border-right: 1px solid rgb(170, 170, 170);

              text-align: center;
              line-height: 50px;
              font-size: 30px;
              float: left;
              &:hover {
                cursor: pointer;
                background-color: @hoverc;
              }
            }

            ul {
              width: 356px;
              height: 50px;
              float: right;
              li {
                list-style: none;
                display: inline-block;
                width: 100px;
                height: 50px;
                color: black;
                text-align: center;
                border: 1px solid rgb(170, 170, 170);
                border-top: none;
                border-bottom: none;
                line-height: 50px;
                &:hover {
                  background-color: @hoverc;
                  cursor: pointer;
                }
              }
            }
          }
          .main-body-list {
            height: 95%;
            background-color: rgb(228, 231, 234);
            overflow-y: auto;
            overflow-x: hidden;
            .features {
              border-radius: 0;
            }
            .list {
              table {
                box-shadow: 2px 2px 25px 2px gray;
                border-radius: 0;
                background-color: rgb(252, 252, 252);
                td,
                th {
                  border: 1px solid rgb(170, 170, 170);
                }
              }
            }
          }
        }
      }
    }
  }
}

.pop-box {
  overflow: hidden;
  display: none;
  width: 100%;
  height: 100%;
  position: absolute;
  background-color: rgba(0, 0, 0, 0.356);
  z-index: 20;
  .pop-box-all {
    width: 400px;
    padding-bottom: 20px;
    display: block;
    margin: 0 auto;
    margin-top: 150px;
    border-radius: 10px;
    background-color: @CPM;
    position: relative;
    animation: mymove 0.4s;
    overflow: hidden;
    h3 {
      font-weight: 400;
      text-align: center;
      line-height: 50px;
      height: 50px;
      color: @CPMh1;
      border-bottom: 1px solid @borderc;
    }
    .back-pop {
      user-select: none;
      font-size: 25px;
      text-align: center;
      line-height: 25px;
      width: 25px;
      height: 25px;
      display: inline-block;
      position: absolute;
      top: 12px;
      right: 12px;
      color: rgb(182, 188, 194);
      cursor: pointer;
      &:hover {
        color: rgb(70, 70, 70);
      }
    }
    .form-pop {
      width: 100%;
      // height: 500px;
      // overflow-y: auto;
      p {
        text-align: center;
        font-size: 20px;
        margin-top: 30px;
        .password {
          width: 150px;
          height: 30px;
          padding-left: 10px;
          margin-left: 10px;
          display: inline-block;
          outline: none;
          border-radius: 5px;
          border: 1px solid grey;
          &:focus {
            border: 2px solid rgb(126, 203, 255);
          }
        }
        .time {
          width: 110px;
          height: 30px;
          padding-left: 10px;
          margin-left: 10px;
          display: inline-block;
          border-radius: 5px;
          outline: none;
          margin-top: 20px;
          border: 1px solid grey;
          &:focus {
            border: 1px solid rgb(0, 162, 255);
          }
        }
      }
    }
    .submit-pop1 {
      width: 80px;
      height: 40px;
      background-color: @button;
      outline: none;
      border: none;
      border-radius: 5px;
      margin: 55px;
      margin-bottom: 20px;
      color: aliceblue;
      &:hover {
        cursor: pointer;
        background-color: @buttonc;
      }
    }
    .submit-pop2 {
      width: 80px;
      height: 40px;
      background-color: @button;
      outline: none;
      border: none;
      border-radius: 5px;
      margin: 55px;
      margin-bottom: 20px;
      color: aliceblue;
      &:hover {
        cursor: pointer;
        background-color: @buttonc;
      }
    }
  }
}
.user1-box {
  overflow: hidden;
  display: none;
  width: 100%;
  height: 100%;
  position: absolute;
  background-color: rgba(0, 0, 0, 0.356);
  z-index: 20;
  .user1-box-all {
    width: 400px;
    padding-bottom: 30px;
    display: block;
    margin: 0 auto;
    margin-top: 70px;
    border-radius: 10px;
    background-color: @CPM;
    position: relative;
    animation: mymove 0.4s;
    overflow: hidden;
    h3 {
      font-weight: 400;
      text-align: center;
      line-height: 50px;
      height: 50px;
      color: @CPMh1;
      border-bottom: 1px solid @borderc;
    }
    .back01 {
      user-select: none;
      font-size: 25px;
      text-align: center;
      line-height: 25px;
      width: 25px;
      height: 25px;
      display: inline-block;
      position: absolute;
      top: 12px;
      right: 12px;
      color: rgb(182, 188, 194);
      cursor: pointer;
      &:hover {
        color: rgb(70, 70, 70);
      }
    }
    .form01 {
      width: 100%;
      // height: 500px;
      overflow-y: auto;
      p {
        border-bottom: 3px solid grey;
        margin-top: 9px;
        display: inline-block;
        font-size: 20px;
        margin-left: 20px;
        text-align: center;
        line-height: 30px;
        width: 120px;
        height: 30px;
      }
      .intro {
        font-size: 16px;
        margin-top: 10px;
        display: inline-block;
        text-align: center;
        line-height: 30px;
        width: 200px;
        height: 30px;
      }
    }
    .submit01 {
      width: 100px;
      height: 50px;
      background-color: @button;
      outline: none;
      border: none;
      border-radius: 5px;
      margin-left: 50%;
      transform: translateX(-50%);
      margin-top: 15px;
      color: aliceblue;
      &:hover {
        cursor: pointer;
        background-color: @buttonc;
      }
    }
  }
}
.user-box {
  overflow: hidden;
  display: none;
  width: 100%;
  height: 100%;
  position: absolute;
  background-color: rgba(0, 0, 0, 0.356);
  z-index: 20;
  .user-box-all {
    width: 400px;
    // height: 570px;
    padding-bottom: 30px;
    display: block;
    margin: 0 auto;
    margin-top: 70px;
    border-radius: 10px;
    background-color: @CPM;
    position: relative;
    animation: mymove 1s;
    overflow: hidden;
    h3 {
      font-weight: 400;
      text-align: center;
      line-height: 50px;
      height: 50px;
      color: @CPMh1;
      border-bottom: 1px solid @borderc;
    }
    .back0 {
      user-select: none;
      font-size: 25px;
      text-align: center;
      line-height: 25px;
      width: 25px;
      height: 25px;
      display: inline-block;
      position: absolute;
      top: 12px;
      right: 12px;
      color: rgb(182, 188, 194);
      cursor: pointer;
      &:hover {
        color: rgb(70, 70, 70);
      }
    }
    .form0 {
      width: 100%;
      // height: 500px;
      overflow-y: auto;
      p {
        border-bottom: 3px solid grey;
        margin-top: 9px;
        display: inline-block;
        font-size: 20px;
        margin-left: 20px;
        text-align: center;
        line-height: 30px;
        width: 120px;
        height: 30px;
        .spread {
          width: 50px;
          height: 30px;
          border-radius: 5px;
          background-color: rgb(0, 195, 255);
          border: none;
          &:hover {
            cursor: pointer;
            background-color: rgb(38, 52, 248);
          }
        }
      }
      .intro {
        font-size: 16px;
        margin-top: 10px;
        display: inline-block;
        text-align: center;
        line-height: 30px;
        width: 200px;
        height: 30px;
      }
    }
    .submit0 {
      width: 100px;
      height: 50px;
      background-color: @button;
      outline: none;
      border: none;
      border-radius: 5px;
      margin-left: 50%;
      transform: translateX(-50%);
      margin-top: 15px;
      color: aliceblue;
      &:hover {
        cursor: pointer;
        background-color: @buttonc;
      }
    }
  }
}
